Skip to content

Conversation

@ntacheva
Copy link
Contributor

@ntacheva ntacheva commented Jan 7, 2025

@ntacheva ntacheva self-assigned this Jan 7, 2025
@ntacheva ntacheva requested review from a team as code owners January 7, 2025 15:56
@ntacheva ntacheva changed the title Document adaptive breakpoints Document adaptive breakpoints customization Jan 7, 2025
Copy link
Contributor

@dimodi dimodi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ntacheva ntacheva merged commit 210ae16 into master Jan 8, 2025
1 check passed
@github-actions github-actions bot deleted the document-adaptive-breakpoints branch January 8, 2025 15:38
Copy link
Contributor

@ikoevska ikoevska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed.


You can customize the [above-listed default adaptive breakpoints](#rendering-specifics) at the root level by configuring the [`<TelerikRootComponent>`]({%slug rootcomponent-overview%}). To specify your desired breakpoints:

1. Wrap the content of the `<TelerikRootComponent>` (`@Body` and potentially other elements) in `<ChildContent>` tag.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Wrap the content of the `<TelerikRootComponent>` (`@Body` and potentially other elements) in `<ChildContent>` tag.
1. Wrap the content of the `<TelerikRootComponent>` (`@Body` and potentially other elements) in a `<ChildContent>` tag.

| `IconType` | `IconType` enum <br /> (`Svg`) | The icon type, which other Telerik components will use to render internal icons. Regardless of this parameter value, you can freely use the [`<TelerikFontIcon>`]({%slug common-features-icons%}#fonticon-component) and [`<TelerikSvgIcon>`]({%slug common-features-icons%}#svgicon-component) components, and [set the `Icon` parameter of other Telerik components]({%slug button-icons%}) to any type that you wish. |
| `Localizer` | `Telerik.Blazor.Services.ITelerikStringLocalizer` | The Telerik localization service. The recommended approach is to [define the localizer as a service in `Program.cs`]({%slug globalization-localization%}). Use the `Localizer` parameter only in special cases when this is not possible. |

### TelerikRootComponent Settings
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single nested sub-sections are not a good practice in terms of logical flow, SEO and structure. In addition, they don't render that great in the sidebar navigation. I recommend using a caption or another body text element instead.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants